<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <title>ERP</title>
    <link rel="icon" href="/static/assets/favicon.ico" />
</head>

<body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <script>
        //宁波系统区分网页图标
        let url = window.location.href;
        if (url.indexOf("47.96.65.20")>0) {
            let link =
                document.querySelector("link[rel*='icon']") ||
                document.createElement("link");
            link.type = "image/x-icon";
            link.rel = "shortcut icon";
            link.href = "/static/assets/favicon2.ico"; //icon图标
            console.log("link: ", link);
            document.getElementsByTagName("head")[0].appendChild(link);
        }
    </script>
</body>

</html>
